package com.quik.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户帐户POJO
 * 			对应数据库表 sys_account
 * @author jenny
 *
 */
public class SysAccount extends BaseEntity implements Serializable{
	private Integer id;  
	private String user_type;
	private String staff_no;
	private String login_name;
	private String login_password;
	private String operate_password;
	private Date expiry_date;
	private String status;
	private String actual_name;
	private Date birthday;
	private String gender;
	
	private String userTypeName;
	private String classes; //班次
	
	public void setUserTypeName(String userTypeName){
		this.userTypeName = userTypeName;
	}
	
	public String getUserTypeName(){
		return this.userTypeName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser_type() {
		return user_type;
	}

	public void setUser_type(String user_type) {
		this.user_type = user_type;
	}

	public String getStaff_no() {
		return staff_no;
	}

	public void setStaff_no(String staff_no) {
		this.staff_no = staff_no;
	}

	public String getLogin_name() {
		return login_name;
	}

	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}

	public String getLogin_password() {
		return login_password;
	}

	public void setLogin_password(String login_password) {
		this.login_password = login_password;
	}

	public String getOperate_password() {
		return operate_password;
	}

	public void setOperate_password(String operate_password) {
		this.operate_password = operate_password;
	}

	public Date getExpiry_date() {
		return expiry_date;
	}

	public void setExpiry_date(Date expiry_date) {
		this.expiry_date = expiry_date;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getActual_name() {
		return actual_name;
	}

	public void setActual_name(String actual_name) {
		this.actual_name = actual_name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	/*用户状态-激活*/
	public static final String ACCOUNT_STATUS_ACTIVE = "active";
	
	/*用户状态-未激活*/
	public static final String ACCOUNT_STATUS_INACTIVE = "inactive";
	
	/*用户性别-男*/
	public static final String GENDER_MAN = "0";
	
	/*用户性别-女*/
	public static final String GENDER_WOMAN = "1";
	
	/*对应的表名*/
	public static final String TABLE_NAME = "sys_account";
}
